package com.yida.wy.vote.outside.domain;

import com.yida.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author lqq
 * @date 2023-03-10
 */
@ApiModel("业主投票结果详情对象实体")
public class WyVoteResultDetail extends BaseEntity {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty("结果详情ID")
	private Long detailId;

	@ApiModelProperty("结果ID")
	private Long resultId;

	@ApiModelProperty("投票项目ID")
	private Long voteId;

	@ApiModelProperty("投票项ID")
	private String itemId;

	@ApiModelProperty("投票项名称")
	private String itemName;

	@ApiModelProperty("选项名称")
	private String optionName;

	@ApiModelProperty("选项ID")
	private String optionId;

	@ApiModelProperty("是否是赞同项：1是、0不是")
	private String agreeFlag;

	public String getAgreeFlag() {
		return agreeFlag;
	}

	public void setAgreeFlag(String agreeFlag) {
		this.agreeFlag = agreeFlag;
	}

	public Long getDetailId() {
		return detailId;
	}

	public void setDetailId(Long detailId) {
		this.detailId = detailId;
	}

	public Long getResultId() {
		return resultId;
	}

	public void setResultId(Long resultId) {
		this.resultId = resultId;
	}

	public Long getVoteId() {
		return voteId;
	}

	public void setVoteId(Long voteId) {
		this.voteId = voteId;
	}

	public String getItemId() {
		return itemId;
	}

	public void setItemId(String itemId) {
		this.itemId = itemId;
	}

	public String getItemName() {
		return itemName;
	}

	public void setItemName(String itemName) {
		this.itemName = itemName;
	}

	public String getOptionName() {
		return optionName;
	}

	public void setOptionName(String optionName) {
		this.optionName = optionName;
	}

	public String getOptionId() {
		return optionId;
	}

	public void setOptionId(String optionId) {
		this.optionId = optionId;
	}

	@Override
	public String toString() {
		final StringBuffer sb = new StringBuffer("VoteResultDetail{");
		sb.append("detailId=").append(detailId);
		sb.append(", resultId=").append(resultId);
		sb.append(", voteId=").append(voteId);
		sb.append(", itemId=").append(itemId);
		sb.append(", itemName='").append(itemName).append('\'');
		sb.append(", optionName='").append(optionName).append('\'');
		sb.append(", optionId=").append(optionId);
		sb.append(", agreeFlag='").append(agreeFlag).append('\'');
		sb.append('}');
		return sb.toString();
	}
}
